package com.haredot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.haredot.dto.AuditeDTO;
import com.haredot.dto.ResourceDTO;
import com.haredot.entity.Resource;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haredot.vo.R;
import com.haredot.vo.ResourceVo;

/**
* @author Administrator
* @description 针对表【tb_resource】的数据库操作Service
* @createDate 2023-09-02 21:56:27
*/
public interface ResourceService extends IService<Resource> {

    Page<ResourceVo> queryResourcesByCondition(Page<ResourceVo> pageVo, ResourceDTO resourceDTO);

    R<?> auditeResource(AuditeDTO auditeDTO);

    R<?> removeResource(Long resId);

    R<?> configCoreResource(Long resId);
}
